<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<title>Bankserver login page</title>
	</head>
	<body>
		<h3>Creating new department</h3>	
		
		<c:choose>
			<c:when test="${enter == true}">
				Department created successfully: 
				<c:out value="${name}" />
			</c:when>
			<c:otherwise>Incorrect data </c:otherwise>
		</c:choose> 

		<br /><br />
		
		<form method="post" action="departmentlist.do">
			<input type="submit" value="Return" /> 
		</form> 

	</body>
</html>